<!DOCTYPE html>
<html>
<head>
    <title>OpenID 和 UnionID 列表</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
</head>
<body>
    <div class="container mt-5">
        <h1>OpenID 和 UnionID 列表</h1>
        <div id="user-info-table">
            @include('user-info-table', ['userInfos' => $userInfos])
        </div>
    </div>

    <script>
        $(document).on('click', '.pagination a', function(e) {
            e.preventDefault();
            var url = $(this).attr('href');
            $.get(url, function(data) {
                $('#user-info-table').html(data);
            });
        });
    </script>
</body>
</html>
